﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MINERP.DAL;
using MINERP.DAL.InfoConfig;

namespace MINERP.BLL.InfoConfig
{
    public class PaperTypeBLL
    {

        #region //Private Fields


        #endregion


        #region //Public Properties

        #endregion



        #region //Public Methods
        /// <summary>
        /// Get paperType list
        /// </summary>
        /// <returns></returns>
        public List<paperType> GetPaperTypeList()
        {
            return PaperTypeDAL.GetPaperTypeList();
        }
        /// <summary>
        /// Get paperType object
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public paperType GetPaperTypeObj(string name)
        {
            return PaperTypeDAL.GetPaperTypeObj(name);
        }
        /// <summary>
        /// Get paperType object
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public paperType GetPaperTypeObj(int id)
        {
            return PaperTypeDAL.GetPaperTypeObj(id);
        }
        #endregion
        /// <summary>
        /// Add PaperType object
        /// </summary>
        /// <param name="obj"></param>
        public void Add(paperType obj)
        {
            PaperTypeDAL.Add(obj);
        }
        /// <summary>
        /// Update PaperType
        /// </summary>
        public void Update()
        {
            PaperTypeDAL.Update();
        }
        /// <summary>
        /// Delete PaperType
        /// </summary>
        public void Delete(paperType obj)
        {
            PaperTypeDAL.Delete(obj);
        }

        

    }
}
